projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06cab6d
)
(nntp-encode-text): Properly encode outgoing text by
author
Richard M. Stallman
<rms@gnu.org>
Thu, 13 Aug 1998 06:20:33 +0000
(06:20 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Thu, 13 Aug 1998 06:20:33 +0000
(06:20 +0000)
putting CR at the end of all lines.
lisp/gnus/nntp.el
patch
|
blob
|
history
diff --git
a/lisp/gnus/nntp.el
b/lisp/gnus/nntp.el
index eeb93748af3b00cad7a85c4bec12bfd4bf724d66..4067d566eb65cd6400ebb5be8cf7885479ceda1d 100644
(file)
--- a/
lisp/gnus/nntp.el
+++ b/
lisp/gnus/nntp.el
@@
-906,7
+906,12
@@
This function is supposed to be called from `nntp-server-opened-hook'."
(insert "\n"))
;; Insert `.' at end of buffer (end of text mark).
(goto-char (point-max))
- (insert "." nntp-end-of-line)))
+ (insert ".\n")
+ (goto-char (point-min))
+ (while (not (eobp))
+ (end-of-line)
+ (delete-char 1)
+ (insert nntp-end-of-line))))
(defun nntp-retrieve-headers-with-xover (articles &optional fetch-old)
(set-buffer nntp-server-buffer)